package com.share.hope.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Schema(description = "存储用户收藏的商品信息")
@TableName(value = "user_collect_product")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserCollectProduct {

    @TableField(value = "user_id")
    @Schema(description = "用户ID")
    private Long userId;

    @TableField(value = "product_id")
    @Schema(description = "商品ID")
    private Long productId;


}
